from php4dvd.pages.page import Page
from selenium.webdriver.support.select import Select

class FilmForm(Page):

    @property
    def imdbid_field(self):
        return self.driver.find_element_by_name("imdbid")

    @property
    def name_field(self):
        return self.driver.find_element_by_name("name")

    @property
    def aka_field(self):
        return self.driver.find_element_by_name("aka")

    @property
    def year_field(self):
        return self.driver.find_element_by_name("year")

    @property
    def duration_field(self):
        return self.driver.find_element_by_name("duration")

    @property
    def rating_field(self):
        return self.driver.find_element_by_name("rating")

    @property
    def format_field(self):
        return self.driver.find_element_by_name("format")

    @property
    def trailer_field(self):
        return self.driver.find_element_by_name("trailer")

    @property
    def notes_field(self):
        return self.driver.find_element_by_name("notes")

    @property
    def taglines_field(self):
        return self.driver.find_element_by_name("taglines")

    @property
    def plotoutline_field(self):
        return self.driver.find_element_by_name("plotoutline")

    @property
    def plots_field(self):
        return self.driver.find_element_by_name("plots")

    @property
    def languages_field(self):
        return self.driver.find_element_by_name("languages")

    @property
    def subtitles_field(self):
        return self.driver.find_element_by_name("subtitles")

    @property
    def audio_field(self):
        return self.driver.find_element_by_name("audio")

    @property
    def video_field(self):
        return self.driver.find_element_by_name("video")

    @property
    def country_field(self):
        return self.driver.find_element_by_name("country")

    @property
    def genres_field(self):
        return self.driver.find_element_by_name("genres")

    @property
    def director_field(self):
        return self.driver.find_element_by_name("director")

    @property
    def writer_field(self):
        return self.driver.find_element_by_name("writer")

    @property
    def producer_field(self):
        return self.driver.find_element_by_name("producer")

    @property
    def music_field(self):
        return self.driver.find_element_by_name("music")

    @property
    def cast_field(self):
        return self.driver.find_element_by_name("cast")